<div id="content">
	<?php  foreach ($homemessage['data']['info'] as $key => $value) : ?>
	<div class="message">
		
		<div class="messageimage">
			<?php if(!empty($value['image'][0] )): ?>
				<a href="<?php echo $value['image'][0] ?>/460.jpg" title="" class="thickbox">
				<img src="<?php echo $value['image'][0] ?>/460" alt="" >
				</a>
			<?php endif; ?>
		</div>
		<a href="<?php echo $this->create_url('tengxun/details') ;?>?height=500&width=700&mid=<?php echo $value['id'] ?>" title="查看微博" class="thickbox">
		<div class="headerimg">
			<img src="<?php echo $value['head'] ?>/50" alt="" class = 'messageheader'>
			<span><?php echo $value['nick'] ?></span>
		</div>
		<div class = "messagecontent"><div class = "messagecontentinside"><?php echo $value['text'] ?></div></div>
		
		<?php if(!empty($homemessage["source"])): ?>
			<div class="retweetedbox">
				<img src="<?php echo $value['source']['head']?>/50" alt="" class = 'messageheader'>
				<span><?php echo $value['source']['nick'] ;?></span>
				<div class="retweetedboxcontent">
					<p>
						<?php echo $value['source']['text'] ?>
					</p>
				</div>
			</div>
		<?php endif;?>
		</a>
	</div>
	<?php endforeach; ?>
</div>
